﻿using UnityEngine;
using System.Collections;

public enum BaseUnitState
{
    Alive,
    Dead,
    Sleep
}

public abstract class BaseUnit : MonoBehaviour
{
  
    public BasePoint point { get; set; }

    public abstract void AttackTargetA(BaseUnit otherunit);

    public abstract void AttackTargetB(BaseUnit otherunit);

    public abstract void AttackTargetC(BaseUnit otherunit);

    public abstract void AttackTargetD(BaseUnit otherunit);

    public abstract void AttackTargetE(BaseUnit otherunit);

    public abstract void AttackTargetF(BaseUnit otherunit);

    //被其它单位攻击
    public abstract void HasBeAttacked(BaseUnit otherunit);


    public abstract void UseToolToFriendly(BaseUnit otherunit , ItemToFriendly item);


    public abstract void UseToolToEnemy(BaseUnit otherunit, ItemToEnemy item);

    //逃跑
    public abstract void RunAway();
    // Use this for initialization
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
}
